package com.snowher.play.service.impl;

import com.snowher.play.entity.LocationEntity;
import com.snowher.play.mapper.dao.ILocationDao;
import com.snowher.play.service.ISaveLocationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LocationServiceImpl implements ISaveLocationService {

    @Resource
    private ILocationDao mILocationDao;

    @Override
    public int saveLocation(LocationEntity locationEntity) {
        return mILocationDao.insertLocation(locationEntity);
    }
}
